WCPay\Duplicate_Payment_Prevention_Service S

Total Complexity 28
Dependencies 7
Dependents 3
Total lines 202
Lines of code 103
Logical lines of code 64
Comment lines 68
Methods 6
Properties 2

Methods 6

Method Rating Maintainability Complexity Lines of code
check_payment_intent_attached_to_order_succeeded()
A
44 11 41
check_against_session_processing_order()
A
47 8 39
remove_session_processing_order()
S
70 3 6
get_session_processing_order()
S
67 3 8
maybe_update_session_processing_order()
S
74 2 5
init()
S
77 1 4